import javax.swing.tree.TreeNode;
import java.util.List;
import java.util.Stack;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 28779
 * Date: 2023-05-07
 * Time: 11:53
 */
public class Test {
    public static void main(String[] args) {
        TestHeap testHeap = new TestHeap();
        int[] array = {27,15,19,18,28,34,65,49,25,37};
        testHeap.createHeap(array);
        testHeap.push(80);
        //testHeap.poll();
        System.out.println(testHeap.peek());
        testHeap.HeapSort();
    }
}
